using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class CategoryInfo
    {
        #region Model
        private int _id;
        private int _adminid;
        private int _parentid;
        private string _name;
        private int _sort;
        private string _img;
        private string _menuicon;
        private int _menusort;
        private int _menuistop;
        private int _modulesort;
        private int _moduleistop;
        private int _count;
        /// <summary>
        /// 唯一ID
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 商户ID
        /// </summary>
        public int AdminID
        {
            set { _adminid = value; }
            get { return _adminid; }
        }
        /// <summary>
        /// 父ID
        /// </summary>
        public int ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 顺序
        /// </summary>
        public int Sort
        {
            set { _sort = value; }
            get { return _sort; }
        }
        /// <summary>
        /// 分类图标
        /// </summary>
        public string Img
        {
            set { _img = value; }
            get { return _img; }
        }
        /// <summary>
        /// 首页菜单图标
        /// </summary>
        public string MenuIcon
        {
            set { _menuicon = value; }
            get { return _menuicon; }
        }
        /// <summary>
        /// 首页菜单排序
        /// </summary>
        public int MenuSort
        {
            set { _menusort = value; }
            get { return _menusort; }
        }
        /// <summary>
        /// 是否推荐到首页菜单
        /// </summary>
        public int MenuIsTop
        {
            set { _menuistop = value; }
            get { return _menuistop; }
        }
        /// <summary>
        /// 首页模块排序
        /// </summary>
        public int ModuleSort
        {
            set { _modulesort = value; }
            get { return _modulesort; }
        }
        /// <summary>
        /// 是否推荐到首页模块
        /// </summary>
        public int ModuleIsTop
        {
            set { _moduleistop = value; }
            get { return _moduleistop; }
        }
        /// <summary>
        /// 获取条数
        /// </summary>
        public int Count
        {
            set { _count = value; }
            get { return _count; }
        }
        #endregion Model
    }
}

